home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4650 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.7 KB

  1. From: magicsn@birdland.es.bawue.de (Steffen Haeuser)
  2. Path: eisbaer.bb.bawue.de!birdland.es.bawue.de
  3. Newsgroups: comp.sys.amiga.programmer
  4. Message-ID: <58000405733288830000@BIRDLAND>
  5. X-Mailer: fastnet2rfc V2.0 - (tse) Lunqual%MAB@wsb.freinet.de / Tachy@wsb.freinet.de
  6. Organization: Birdland BBS, Dettingen/Teck, South Germany, +49-7021-862428
  7. Content-Type: text/plain; charset=ISO-8859-1
  8. Subject: rtgmaster c2p standard change..
  9. Date: 02 Mar 1996 18:01:23
  10.  
  11. Sadly some of the structures had to be changed again (but this one SHOULD be 
  12. final...) CI_FAST is Fastram required, CI_2MB is 2 MB Chip required. The Best, 
  13. Fastest, Selected modes do not have to be specified in the c2p. They are 
  14. standard for every c2p.
  15.  
  16.         include "exec/types.i"
  17.  
  18.  
  19.     STRUCTURE c2p_Info,0
  20.      WORD    CI_ColorDepth           ;CI_256, CI_128, CI_64, CI_EHB, CI_32..
  21.      WORD    CI_CPU                  ;CI_68060, CI_68040, CI_68030....
  22.      WORD    CI_Needs                ;CI_Aikiko, CI_MMU, CI_FPU...
  23.      BOOL    CI_Dirty                ;TRUE/FALSE
  24.      BOOL    CI_Hack                 ;TRUE/FALSE
  25.      ULONG   CI_PixelSize            ;c2p_1x1...
  26.      WORD    CI_WidthAlign           ;Width has to be divisible by <number>
  27.      WORD    CI_HeightAlign          ;Height has to be divisible by <number>
  28.      WORD    CI_Misc                 ;Different stuff...
  29.      ULONG   CI_AmiCompatible        ;Is this compatible to RtgScreenAMI ?
  30.      APTR    CI_Description          ;Pointer to a string
  31.      APTR    CI_Initialization       ;Pointer to Initialization code
  32.      APTR    CI_Expunge              ;Pointer to Expunge code
  33.      APTR    CI_Normal_c2p           ;Pointer to c2p code
  34.      APTR    CI_Normal_c2p_InterL    ;Pointer to Interleaved c2p
  35.      APTR    CI_Scrambled_c2p        ;Pointer to Scrambled c2p
  36.      APTR    CI_Scrambled_c2p_InterL ;Pointer to Scrambled Interleaved c2p
  37.      BOOL    CI_Asynchrone           ;TRUE/FALSE
  38.      LABEL   CI_SIZEOF
  39.  
  40. ; CI_ColorDepth
  41.  
  42. CI_256 EQU 256
  43. CI_128 EQU 128
  44. CI_64  EQU 64
  45. CI_EHB EQU 32
  46. CI_32  EQU 16
  47. CI_16  EQU 8
  48. CI_8   EQU 4
  49. CI_4   EQU 2
  50. CI_2   EQU 1
  51.  
  52. ; CI_CPU
  53.  
  54. CI_68060 EQU 1
  55. CI_68040 EQU 2
  56. CI_68030 EQU 4
  57. CI_68020 EQU 8
  58. CI_68060D EQU 16
  59. CI_68040D EQU 32
  60. CI_68030D EQU 64
  61. CI_68020D EQU 128
  62.  
  63. ; CI_Needs
  64.  
  65. CI_68060N EQU 1
  66. CI_68040N EQU 2
  67. CI_68030N EQU 4
  68. CI_Aikiko EQU 8
  69. CI_MMU    EQU 16
  70. CI_FPU    EQU 32
  71. CI_FAST   EQU 64
  72. CI_2MB    EQU 128
  73.  
  74. ; CI_Misc
  75.  
  76. CI_Smaller EQU 1
  77.  
  78. c2p_1x1 EQU 1
  79. c2p_1x2 EQU 2
  80. c2p_2x1 EQU 4
  81. c2p_2x2 EQU 8
  82. c2p_4x2 EQU 16
  83. c2p_2x4 EQU 32
  84. c2p_4x4 EQU 64
  85. c2p_1x1D EQU 128
  86. c2p_1x2D EQU 256
  87. c2p_2x1D EQU 512
  88. c2p_2x2D EQU 1024
  89. c2p_4x2D EQU 2048
  90. c2p_2x4D EQU 4096
  91. c2p_4x4D EQU 8192
  92. c2p_Best EQU 16384
  93. c2p_BestD EQU 32768
  94. c2p_Fastest EQU 65536
  95. c2p_FastestD EQU 131072
  96. c2p_Selected EQU 262144
  97. c2p_SelectedD EQU 524288
  98.